package com.lt73.druidmonitordemo.mapper;

import com.lt73.druidmonitordemo.entity.Persion;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: hanxiao
 * @Date: 2022/3/19 12:07
 */

@Repository
public interface UserMapper {

    @Select("SELECT * FROM persion WHERE id = #{id}")
    Persion selectUser(int id);
}